
link(rel='stylesheet' href='/stylesheets/navpage.css') 
//- 翻页
div(class='next-box')
    div(class='next-bar')
        //-参数表 selectpage --> page --> offset

        span 
            a(href='?page='+ 1) 首页
        span 
            a(href='?page='+ (selectpage-1)) 上一页

        //- - for (var i = selectpage; i < selectpage+5;i++)
        - for (var i = selectpage; i < 5 + selectpage; i++)
            if i == selectpage
                span(class='span-selected')= i
            else
                span 
                    a(href='?page='+i)= i
        span 
            a(href='?page='+(selectpage+1)) 下一页